<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html>
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
<div th:fragment="list-agreegate" class="reference-body">
    <div class="home-content-box">
        <!--论文名字|下载按钮-->
        <div>
            <span id="aggregateId" class="item-hidden" th:if="${aggregate}" th:text="${aggregate.id}">1</span>
            <!--论文标题-->
            <span id="aggregateTitle" class="aggregate-title" th:if="${aggregate}" th:text="${aggregate.aggregateTitle}">人生就像一场旅行</span>
            <!--下载按钮-->
            <div class="layui-btn-container float-right">
                <button id="aggregate-edit" class="layui-btn layui-btn-sm">编辑</button>
                <button id="aggregate-down" class="layui-btn layui-btn-sm">下载</button>
                <button id="aggregate-del" class="layui-btn layui-btn-sm">删除</button>
            </div>
        </div>
        <hr class="layui-bg-gray">
        <div class="layui-tab layui-tab-card">
            <ul class="layui-tab-title">
                <li class="layui-this">文献编辑</li>
                <li>文献推荐</li>
            </ul>
            <div class="layui-tab-content " style="height: 100px;">
                <div class="layui-tab-item layui-show">
                    <div class="reference-input">
                        <div class="my-textarea">
                            <span id="docId" class="item-hidden"></span>
                            <textarea id="docContent" placeholder="请输入内容" class="layui-textarea"
                                      style="min-height: 60px;height: 100px;min-width: 820px"></textarea>
                        </div>
                        <div class="float-right side-textaera-btn">
                            <button id="edit-btn" class="layui-btn">修改</button>
                            <br>
                            <button id="add-btn" class="layui-btn layui-btn-normal">添加</button>
                            <br>
                            <button id="check-btn" class="layui-btn layui-btn-warm">检查</button>
                        </div>
                    </div>
                </div>
                <div class="layui-tab-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">著作人</label>
                        <div class="layui-input-inline" style="width: 250px;">
                            <input type="text" id="author" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">关键词</label>
                        <div class="layui-input-inline" style="width: 400px;">
                            <input type="text" id="keyword" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="float-right">
                        <button type="button" class="layui-btn">推荐</button>
                        <button onclick="test()" type="button" class="layui-btn">测试</button>
                    </div>
                </div>
            </div>
        </div>
        <hr class="layui-bg-gray">
        <!--文献列表-->
        <table id="demo" lay-filter="test"></table>
    </div>
</div>
</body>
</html>
